﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using System.Threading;
using GameRobot;

namespace GameRobotControl
{
    public class SampleSchedulingRobotAction : SchedulingRobotAction
    {
        public SampleSchedulingRobotAction(RobotBridge robotbride)
            : base(robotbride)
        {
            InitRobot("Sample", new SampleVirtualRobot());
        }

        public override void Action(GameInput gameinput)
        {
            switch (gameinput.game_message.message)
            {
                case messagedef.StopAuto:
                    _virRobot.Stop();
                    break;
            }
        } 
    }
}
